package com.twu.biblioteca.model;

/**
 * Created with IntelliJ IDEA.
 * User: st
 * Date: 14-4-16
 * Time: 下午6:51
 * To change this template use File | Settings | File Templates.
 */
public class bookModel {
    private long bookId;
    private String bookName;
    private String authorName;
    private boolean checkStatus;


    public bookModel setBookId(long bookId)
    {
        this.bookId=bookId;
        return this;
    }
    public bookModel setBookName(String bookName)
    {
        this.bookName = bookName;
        return this;
    }
    public bookModel setAuthorName(String authorName)
    {
        this.authorName=authorName;
        return this;
    }
    public bookModel setCheckStatusFalse()
    {
        this.checkStatus=false;
        return this;
    }
    public bookModel setCheckStatusTrue()
    {
        this.checkStatus=true;
        return this;
    }
    public long getBookId()
    {
        return bookId;
    }
    public String getBookName()
    {
        return bookName;
    }
    public String getAuthorName()
    {
        return authorName;
    }
    public boolean getCheckStatus()
    {
        return checkStatus;
    }
}
